package com.battle.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.battle.pojo.enums.PersonMpWarCaseTypeEnum;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Data;
import nirvana.core.domains.ann.AccEntity;
import nirvana.core.domains.entity.DomainBaseEntity;
import nirvana.core.domains.enums.EntityType;

/**
 * @author anni.zhu
 * @author anni.zhu@king-v.com
 * Created in 2024/10/8 19:24
 * 人员战力关联表
 */
@Data
@TableName(value = "PERSON_MP_WAR_CASE",autoResultMap = true)
@Entity(name = "PERSON_MP_WAR_CASE")
@AccEntity(value = "人员战力关联表", type = EntityType.SECONDARY_SERVICE_ENTITY)
public class PersonMpWarCase  extends DomainBaseEntity<PersonMpWarCase> {
    /**
     * id
     */
    @Column()
    private Long id;

    /**
     * 人员id
     */
    @Column()
    private Long personId;

    /**
     * 关联id
     */
    @Column()
    private Long fid;

    /**
     * 类型
     */
    @Column()
    private PersonMpWarCaseTypeEnum type;
}
